package org.hfy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 报价成本明细实体类
 * 
 * @author hfy
 * @version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("quotation_costs")
public class QuotationCost extends BaseEntity {

    /**
     * 报价单ID
     */
    @NotNull(message = "报价单ID不能为空")
    @TableField("quotation_id")
    private Long quotationId;

    /**
     * 序号
     */
    @NotNull(message = "序号不能为空")
    @TableField("item_no")
    private Integer itemNo;

    /**
     * 板厚板材起步价
     */
    @TableField("base_price")
    private BigDecimal basePrice;

    /**
     * 阻燃费
     */
    @TableField("flame_retardant_fee")
    private BigDecimal flameRetardantFee;

    /**
     * 沉铜费
     */
    @TableField("copper_plating_fee")
    private BigDecimal copperPlatingFee;

    /**
     * 表面处理费
     */
    @TableField("surface_treatment_fee")
    private BigDecimal surfaceTreatmentFee;

    /**
     * 工程费
     */
    @TableField("engineering_fee")
    private BigDecimal engineeringFee;

    /**
     * 运费
     */
    @TableField("shipping_fee")
    private BigDecimal shippingFee;

    /**
     * 铜厚费
     */
    @TableField("copper_thickness_fee")
    private BigDecimal copperThicknessFee;

    /**
     * 超孔费
     */
    @TableField("oversize_hole_fee")
    private BigDecimal oversizeHoleFee;

    /**
     * 阻抗费
     */
    @TableField("impedance_fee")
    private BigDecimal impedanceFee;

    /**
     * 半孔费
     */
    @TableField("half_hole_fee")
    private BigDecimal halfHoleFee;

    /**
     * 合拼费
     */
    @TableField("merge_panel_fee")
    private BigDecimal mergePanelFee;

    /**
     * 树脂塞孔费
     */
    @TableField("resin_plug_hole_fee")
    private BigDecimal resinPlugHoleFee;

    /**
     * 金手指费
     */
    @TableField("gold_finger_fee")
    private BigDecimal goldFingerFee;

    /**
     * 合计
     */
    @TableField("total_cost")
    private BigDecimal totalCost;
} 